package com.linln.modules.system.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.linln.common.enums.StatusEnum;
import com.linln.component.excel.annotation.Excel;
import lombok.Data;
import org.springframework.data.annotation.CreatedDate;
import org.springframework.data.annotation.LastModifiedDate;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class MiddleUser implements Serializable {
    private Long id;
    private String username;
    private String password;
    private String salt;
    private String nickname;
    private String picture;
    private Byte sex;
    private String phone;
    private String email;
    private Date createDate;
    private Date updateDate;
    private String remark;
    private Byte status = StatusEnum.OK.getCode();
    private Dept dept;
    private Integer type;
    private String platform;
}
